package edu.hcmus.sow.dao;

import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;

public interface RepositoryDAO {

   public long saveFile(String columnFamily, String rowKey, InputStream stream) throws IOException;

   public void readFile(String columnFamily, String rowKey, OutputStream stream) throws IOException;

   public void deleteFile(String columnFamily, String rowKey);

   public void createFileStorage(String columnFamily);

   public void dropFileStorage(String columnFamily);
}
